﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DCRF.Common.Interface
{
    /// <summary>
    /// Represents container block of a web
    /// </summary>
    public interface IContainerBlock : IBlock
    {

        /// <summary>
        /// Used by innerWeb of the block, when a handle is not found in the local blocks. For example when a connector is 
        /// called that refers to a block in an external web.
        /// </summary>
        /// <param name="handle"></param>
        /// <returns></returns>
        IBlock GetParentWebBlock(Guid handle);

        //List<object> ProcessLocalConnector(string connectorKey, params object[] args);
    }
}
